package com.bailun91.auth.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author
 */
@Data
@TableName(value = "c_permission")
public class Permission implements Serializable {
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;

    /**
     * 权限id
     */
    private String permissionId;

    /**
     * 权限
     */
    private String perms;

    /**
     * 权限描述
     */
    private String description;

    /**
     * 权限访问路径
     */
    private String url;

    /**
     * 类型   0：目录   1：菜单   2：按钮
     */
    private Integer type;


    /**
     * 状态：1有效；2删除
     */
    private Integer status;


    private static final long serialVersionUID = 1L;

}
